package hxg.cxl;

/**
 * @author HeXiangGuang
 * @create 2021-06-25 18:18
 *
 */
public class Salary extends Employee {

    private double salary;
    @Override
    public double computePay() {

        System.out.println("Computing salary pay for " + getName());
        return salary/52;
    }

    public Salary(String name, String address, int number) {
        super(name, address, number);
    }
}
